<layout name="layout" />

<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data" >
    	<input type="hidden" name="id" value="<?php echo $data['id']; ?>" />
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">卡项类别：</td>
                <td>
                    {:buildSelect('card_type','card_type','id','name','card_type')}
                </td>
            </tr>
            <tr>
                <td class="label">编码：</td>
                <td>
                    <input  type="text" name="code" value="<?php echo $data['code']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">名称：</td>
                <td>
                    <input  type="text" name="name" value="<?php echo $data['name']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">价格：</td>
                <td>
                    <input  type="text" name="price" value="<?php echo $data['price']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">最低价格：</td>
                <td>
                    <input  type="text" name="low_price" value="<?php echo $data['low_price']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">有效期：</td>
                <td>
                    <input  type="text" name="effective_day" value="<?php echo $data['effective_day']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">有效次数：</td>
                <td>
                    <input  type="text" name="effective_frequency" value="<?php echo $data['effective_frequency']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">储值：</td>
                <td>
                    <input  type="text" name="effective_money" value="<?php echo $data['effective_money']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">折扣：</td>
                <td>
                    <input  type="text" name="discount" value="<?php echo $data['discount']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">积分：</td>
                <td>
                    <input  type="text" name="integral" value="<?php echo $data['integral']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">介绍人积分：</td>
                <td>
                    <input  type="text" name="intro_integral" value="<?php echo $data['intro_integral']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">备注：</td>
                <td>
                    <input  type="text" name="comment" value="<?php echo $data['comment']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">状态：</td>
                <td>
                    <input  type="text" name="status" value="<?php echo $data['status']; ?>" />
                </td>
            </tr>

            <tr>
                <td class="label">是否显示：</td>
                <td>
                    <input  type="text" name="is_show" value="<?php echo $data['is_show']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">排序：</td>
                <td>
                    <input  type="text" name="sort" value="<?php echo $data['sort']; ?>" />
                </td>
            </tr>
            <tr>
                <td class="label">对外名称：</td>
                <td>
                    <input  type="text" name="alias" value="<?php echo $data['alias']; ?>" />
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
            </tr>
        </table>
    </form>
</div>


<script>
</script>